package cn.itcast.service;

import cn.itcast.DTO.OrderDTO;
import cn.itcast.DTO.PageQueryDTO;
import cn.itcast.entity.PageResult;
import cn.itcast.entity.Room;

import java.util.List;

public interface RoomService {

    PageResult page(PageQueryDTO dto);

    void insert(Room room);

    void delete(Long id);

    Room findById(Long id);

    void update(Room room);

    List<Room> selectAll();

    Integer findIdByRoomNo(String roomNo);

    OrderDTO findOrderById(Long id);
}
